//
//  Collider.h
//  EidoTron
//
//  Created by Luca Di Franco on 23/06/11.
//  Copyright 2011 Luca Di Franco. All rights reserved.
//

#ifndef __COLLIDER_H__
#define __COLLIDER_H__

class SceneNode;

class Collider
{
	
public:
	SceneNode*	relatedNode;
	bool		collide;
	
public:
	Collider(SceneNode* relatedNode);
	virtual ~Collider();
	
	virtual bool checkCollision(Collider* other) = 0;
	void render();
	
protected:
	virtual void renderCollisionSolid() = 0;
	
};

#endif